package com.siqi.hr.system.common.model;

/**
 * 用户登录信息对象(xiaogq)
 */
public class ReturnInfo {
	/**
	 * 用户登录成功标识
	 */
	private boolean success = false;
	
	/**
	 * 用户登录错误信息
	 */
	private String error;

	/**
	 * 当前用户登录的模块
     */
	private Module module;

	/**
	 * 当前用户登录名
	 */
	private String loginName;

	public boolean isSuccess() {
		return this.success;
	}

	public void setSuccess(boolean success) {
	    this.success = success;
	}

	public String getError() {
	    return this.error;
	}

	public void setError(String error) {
	    this.error = error;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public Module getModule() {
		return module;
	}

	public void setModule(Module module) {
		this.module = module;
	}
}
